package com.mbc.common.utils;

import java.sql.Connection;

import com.mbc.common.dao.CommonDAOFactory;
import com.mbc.common.dao.SystemKeyDAO;

public class KeyGenerator {
	public static long generateKey(Connection conn)throws Exception
	{
		SystemKeyDAO l_SystemKeyDAO = CommonDAOFactory.getSystemKeyDAO(conn);
		return l_SystemKeyDAO.getKey();
	}
}
